﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace EFCore
{
    public class GroupModel
    {
        /// <summary>
        /// 标示
        /// </summary>
        
        public string PID { get; set; }
        /// <summary>
        /// 创建用户
        /// </summary>
        public string CreateUser { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }
        /// <summary>
        /// 修改用户
        /// </summary>
        public string UpdateUser { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }

        /// <summary>
        /// 删除标志
        /// </summary>
        public bool? IsDelete { get; set; }
        

        [DatabaseGeneratedAttribute(DatabaseGeneratedOption.Identity)]
        public int Number { get; set; }
        /// <summary>
        /// 组织名称
        /// </summary>
        public string GroupName { get; set; }
        /// <summary>
        /// 组织编码
        /// </summary>
        public string Code { get; set; }
        /// <summary>
        /// 上级组织[SourceName.Portal_Group|Name.GroupName|Value.PID]
        /// </summary>
        public string ParentID_SelSource { get; set; }
        /// <summary>
        /// 联系人
        /// </summary>
        public string GroupUser { get; set; }
        /// <summary>
        /// 联系电话
        /// </summary>
        public string Phone { get; set; }
        /// <summary>
        /// 地址
        /// </summary>
        public string Address { get; set; }
        /// <summary>
        /// 状态[0.启用|1.停用]
        /// </summary>
        public int? State_Sel { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Content { get; set; }

        /// <summary>
        /// 是否隐藏
        /// </summary>
        public int? IsHide { get; set; }
    }
}
